<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

	<link rel="stylesheet" type="text/css" href="css/pid-toolbar.css" >
 <script src="./jquery.min.js"></script>
	<style>
   
		
	
    </style>
</head>
<body style="margin:50px;">




	<div id="demo" style="z-index:99;position:relative; color:#000;width:800px; height:400px;background:gray;"> 

		
		
	</div> 
</body>
<script>
	var a = {a:"",b:"xuxu",d:{a:"j",b:"k"},e:["123"]};
	var b = {a:"aaa",c:"abc",d:{ad:"jj",c:"cc"},e:{o:"kkkk"}};
	

	var c = $.extend(a,b);
	console.log(c);
	//console.log(a);
	
	var url = "/document/dw.c";
	if(url.indexOf("/") == 0){
		console.log(url);
	}else{
		console.log("xxx");
	}
</script>
</html>